package team.first.movieapiv2pro.dao;

import team.first.movieapiv2pro.domain.User;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.movieapiv2pro.dao
 * @Date: 2021/12/26 9:09
 * @Description:
 */
public interface AuthorizationDAO {
    boolean register(User user);

    User selectUser(User user);

    boolean isExist(String email);

    User selectById(Integer id);
}
